package com.limao.dataEnum;

public enum OrderOweStateEnum {
	noowe("正常",0),
	owe("抵押中",1);

      
	private String stringValue;  
    private int intVlue;  
      
    private OrderOweStateEnum(String stringValue){  
        this.stringValue = stringValue;  
    }  
      
	private OrderOweStateEnum(int intVlue) {
		this.intVlue = intVlue;
	}

	private OrderOweStateEnum(String stringValue, int intVlue) {
		this.stringValue = stringValue;
		this.intVlue = intVlue;
	}

	public String getStringValue() {
		return stringValue;
	}

	public int getIntVlue() {
		return intVlue;
	}

	public static String getEnumString(int i) {
		for (OrderOweStateEnum c : OrderOweStateEnum.values()) {
			if (c.getIntVlue() == i) {
				return c.stringValue;
			}
		}
		return "";
	}
	
	public static OrderOweStateEnum getEnum(int i) {
		for (OrderOweStateEnum c : OrderOweStateEnum.values()) {
			if (c.getIntVlue() == i) {
				return c;
			}
		}
		return null;
	}
}
